package com.hctforgreen.greenservice.model;

import java.util.List;

/**
 * 目录
 * @author Tallen Zhai
 *
 */
public class EntryCatalogEntity extends BaseEntity{

	private static final long serialVersionUID = 2158083573307409193L;
	
	public List<EntryLevel1Entity> dataList = null;
	
	/**
	 * 一级目录
	 * @author Tallen Zhai
	 *
	 */
	public static class EntryLevel1Entity extends BaseEntity {

		private static final long serialVersionUID = -1925452833311723161L;
		
		public String id = "";
		public String bookId = "";
		
		public String parentId = "";
		public String level = "";
		public String titleContents = "";
		
		public List<EntryLevel2Entity> dataList = null;
		//=========页面中才用的到=========
		public boolean isOff = true;
		/**
		 * 二级目录
		 * @author Tallen Zhai
		 *
		 */
		public static class EntryLevel2Entity extends BaseEntity {

			private static final long serialVersionUID = -495343141035545287L;
			public String id = "";
			public String bookId = "";
			
			public String parentId = "";
			public String level = "";
			public String titleContents = "";
			
			public List<EntryLevel3Entity> dataList = null;
			
			/**
			 * 三级目录
			 * @author Tallen Zhai
			 *
			 */
			public static class EntryLevel3Entity extends BaseEntity {

				private static final long serialVersionUID = -495343141035545287L;
				public String id = "";
				public String bookId = "";
				
				public String parentId = "";
				public String level = "";
				public String titleContents = "";
				
				public List<EntryLevel4Entity> dataList = null;
				/**
				 * 四级目录
				 * @author Tallen Zhai
				 *
				 */
				public static class EntryLevel4Entity extends BaseEntity {

					private static final long serialVersionUID = -3626530893568477743L;
					public String id = "";
					public String bookId = "";
					
					public String parentId = "";
					public String level = "";
					public String titleContents = "";
					
				}
			}
		}
		
	}
}
